const http = require('http');

const server = http.createServer(function(req, res){
  console.log('JUST BEGIN');

  switch (req.url) {
    case '/index':
      res.write('Index')
      break;
    default:
      res.write('MU');
      break;
  }

  res.end();
});

server.listen(8089);
